package org.nfIt.th05;

import java.net.Inet4Address;

/**
 * ClossName:MainTest
 * Pakage:org.nfIt.th05
 * Description
 *
 * @Author L
 * @Create 2024/5/19 12:10
 * @Version 2023.1.3
 */
public class MainTest {
    public static void main(String[] args) {
        Student<String> student = new Student<>();
        student.setName("辽沈");

        Integer max = student.max(18, 19);
        System.out.println("max = " + max);//19

        System.out.println("-----------------");

        // 使用String类型调用max方法（注意：这里基于字典序）
        String max2 = student.max("廖神", "liao shen");
        System.out.println("max = " + max2);//19

    }
}
